﻿using System;
using System.Globalization;
using Amarok.Agents;


namespace Amarok.Samples
{
	/// <summary>
	/// </summary>
	public sealed class TickMessage : Information
	{
		/// <summary>
		/// </summary>
		public DateTime Timestamp
		{
			get;
			private set;
		}


		/// <summary>
		/// </summary>
		public TickMessage()
		{
			this.Timestamp = DateTime.UtcNow;
		}


		/// <summary>
		/// </summary>
		public override String ToString()
		{
			return String.Format(CultureInfo.InvariantCulture,
				"TestMessage({0:O})",
				this.Timestamp.ToLocalTime());
		}

	}
}
